using System;
using Impact.Model.Service;
using Impact.Model.Objects;
using System.Collections.Generic;

namespace Impact.UnitTests.Mocks
{
    public class MockSubscriberService : ISubscriberService
    {

        private List<RssSubscriber> subscribers;

        public MockSubscriberService()
        {
            this.subscribers = new List<RssSubscriber>();
        }

        #region ISubscriberService Members

        public void Save( RssSubscriber subscriber )
        {
            subscribers.Add( subscriber );
        }

        #endregion
    }
}
